import {t, api, message, bs} from "@/service/index.js"


export default {
    url: {
        add: "/classification/add",
        list: "/classification/list",
        del: "/classification/del",
        edit: "/classification/edit",
        classTraining: "/classification/classTraining",
        testTraining: "/classification/testTraining",
        findConfig: "/classification/findConfig",
    },
    add(data) {
        return api.post(this.url.add, data)
    },
    list(data) {
        return api.post(this.url.list, data)
    },
    del(data) {
        return api.post(this.url.del, data)
    },
    edit(data) {
        return api.post(this.url.edit, data)
    },
    classTraining(data){
        return api.post(this.url.classTraining, data)
    },
    testTraining(data){
        return api.post(this.url.testTraining, data)
    },
    findConfig(data) {
        return api.post(this.url.findConfig, data)
    },
}